package org.dwell.urlfilter.demo.service;

import org.dwell.urlfilter.demo.domain.CoreModule;
import org.dwell.urlfilter.demo.test.CoreRoleModuleDB;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * Created by Jange on 2016/4/6.
 */
@Service
public class CoreModuleService {

    public List<CoreModule> listByRoleId(String roleId) {
        return CoreRoleModuleDB.listByRoleId(roleId);
    }

}
